<head>
    <script src="resources/text-based-repaint.js" type="text/javascript"></script>
    <script type="text/javascript">
       function repaintTest()
       {
            document.getElementById("target").firstChild.textContent="PASS";
       }
    </script>
</head>
<body onload="runRepaintAndPixelTest()">
    <div style="float: left; height: 50px; width: 50px;"></div>
    <div style="clear: left;">
        <div id="target" style="overflow: hidden; float: left; width: 200px;">
            FAIL
        </div>
    </div>
</body>
